<template>
	<div class="money-jl">
		
		<money-list ref="moneyList" />
	</div>
</template>
<script>
import MoneyList from '@/components/money-list/Money-list.vue'

export default {
	components: {
		MoneyList
	},
	onShow() {
		// 当页面显示时，调用子组件的方法
		if (this.$refs.moneyList) {
			this.$refs.moneyList.getRecordList()
		}
	}
}
</script>
